#include <DATASCOPE.h>

DATASCOPE scope;
float x;

void setup()
{
  scope.baudrate(128000);
}

void loop()
{
  x += 0.1;
  if (x > 3.14)
  {
    x = -3.14;
  }
  scope.update(1, 500 * sin(x));
  scope.update(2, 500 * cos(x));

  scope.put(2);

  delay(50);
}
